<template>
  <div>
    <pageheader></pageheader>
    <div class="page-main home-main">
      <div class="container">
        <div class="home-brick-box home-brick-row-2-box xm-plain-box">
            <div class="box-hd clearfix">
                <h2 class="title">周边</h2>
                <div class="more">
                    <ul class="tab-list">
                        <li class="tab-active">
                            热门
                        </li>
                        <li class="">
                            出行
                        </li>
                    </ul>
                </div>
            </div>
            <div class="box-bd">
                <div class="row">
                    <div class="span4">
                        <ul class="brick-promo-list clearfix">
                            <li class="brick-item  brick-item-m"><a
                                    href="https://www.mi.com/buy?product_id=2203900010"
                                    data-log_code="31pchomepagelist_eight_product_tab000001#t=ad&amp;act=product&amp;page=homepage&amp;pid=2203900010&amp;page_id=10530&amp;bid=3480948.1&amp;adp=3129&amp;adm=16008"
                                    target="_blank" data-scm="cms.0.0.0.product.2203900010.0.0"
                                    data-spm="cms_10530.3480948.1"
                                    data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;2203900010&quot;}"
                                    data-settrack="true"
                                    onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab000001#t=ad&amp;act=product&amp;page=homepage&amp;pid=2203900010&amp;page_id=10530&amp;bid=3480948.1&amp;adp=3129&amp;adm=16008&#39;,&#39;https://www.mi.com/buy?product_id=2203900010&#39;,&#39;&quot;&quot;&#39;]);"><img
                                        alt=""
                                        data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/ca0940f052227d235e7de5678d106c89.jpg?thumb=1&amp;w=234&amp;h=300&amp;f=webp&amp;q=90"
                                        src=""
                                        lazy="loading"></a></li>
                        </ul>
                    </div>
                    <div class="span16">
                        <div>
                            <ul class="brick-list clearfix">
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=10598"
                                            data-log_code="31pchomepagelist_eight_product_tab000001#t=product&amp;act=product&amp;page=homepage&amp;pid=10598&amp;page_id=10530&amp;bid=3480948.4"
                                            target="_blank" data-scm="cms.0.0.0.product.10598.0.0"
                                            data-spm="cms_10530.3480948.4"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;10598&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab000001#t=product&amp;act=product&amp;page=homepage&amp;pid=10598&amp;page_id=10530&amp;bid=3480948.4&#39;,&#39;https://www.mi.com/buy?product_id=10598&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家声波电动牙刷T300"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/a416dfd1cbd34c2911ee605618060d0e.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家声波电动牙刷T300
                                            </h3>
                                            <p class="desc">31000次/分钟震动，刷的干净</p>
                                            <p class="price"><span class="num">99</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=10535"
                                            data-log_code="31pchomepagelist_eight_product_tab001001#t=product&amp;act=product&amp;page=homepage&amp;pid=10535&amp;page_id=10530&amp;bid=3480948.5"
                                            target="_blank" data-scm="cms.0.0.0.product.10535.0.0"
                                            data-spm="cms_10530.3480948.5"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;10535&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab001001#t=product&amp;act=product&amp;page=homepage&amp;pid=10535&amp;page_id=10530&amp;bid=3480948.5&#39;,&#39;https://www.mi.com/buy?product_id=10535&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家声波电动牙刷T500"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/a2e6100cb09462515a939caf8bbe56ab.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家声波电动牙刷T500
                                            </h3>
                                            <p class="desc">刷的干净、智能护齿</p>
                                            <p class="price"><span class="num">169</span>元
                                                <!----><del><span class="num">179</span>元</del></p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=13857"
                                            data-log_code="31pchomepagelist_eight_product_tab002001#t=product&amp;act=product&amp;page=homepage&amp;pid=13857&amp;page_id=10530&amp;bid=3480948.6"
                                            target="_blank" data-scm="cms.0.0.0.product.13857.0.0"
                                            data-spm="cms_10530.3480948.6"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;13857&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab002001#t=product&amp;act=product&amp;page=homepage&amp;pid=13857&amp;page_id=10530&amp;bid=3480948.6&#39;,&#39;https://www.mi.com/buy?product_id=13857&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家声波电动牙刷T700"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/e2ad7080408a1434b90f824f50293b89.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家声波电动牙刷T700
                                            </h3>
                                            <p class="desc">米家声波电动牙刷T700</p>
                                            <p class="price"><span class="num">369</span>元
                                                <!----><del><span class="num">399</span>元</del></p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=13414"
                                            data-log_code="31pchomepagelist_eight_product_tab003001#t=product&amp;act=product&amp;page=homepage&amp;pid=13414&amp;page_id=10530&amp;bid=3480948.7"
                                            target="_blank" data-scm="cms.0.0.0.product.13414.0.0"
                                            data-spm="cms_10530.3480948.7"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;13414&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab003001#t=product&amp;act=product&amp;page=homepage&amp;pid=13414&amp;page_id=10530&amp;bid=3480948.7&#39;,&#39;https://www.mi.com/buy?product_id=13414&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家电动剃须刀 S700"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/4dd4b6d9463efdaa44bf6175ff581d6c.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家电动剃须刀 S700
                                            </h3>
                                            <p class="desc">陶瓷净须，开局之作*</p>
                                            <p class="price"><span class="num">499</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=9835"
                                            data-log_code="31pchomepagelist_eight_product_tab004001#t=product&amp;act=product&amp;page=homepage&amp;pid=9835&amp;page_id=10530&amp;bid=3480948.8"
                                            target="_blank" data-scm="cms.0.0.0.product.9835.0.0"
                                            data-spm="cms_10530.3480948.8"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;9835&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab004001#t=product&amp;act=product&amp;page=homepage&amp;pid=9835&amp;page_id=10530&amp;bid=3480948.8&#39;,&#39;https://www.mi.com/buy?product_id=9835&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家电动剃须刀S100"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/dbd5b31980837752ebfdd46f99abcd57.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家电动剃须刀S100
                                            </h3>
                                            <p class="desc">浮动双刀头 全身水洗</p>
                                            <p class="price"><span class="num">78</span>元
                                                <!----><del><span class="num">79</span>元</del></p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=11191"
                                            data-log_code="31pchomepagelist_eight_product_tab005001#t=product&amp;act=product&amp;page=homepage&amp;pid=11191&amp;page_id=10530&amp;bid=3480948.9"
                                            target="_blank" data-scm="cms.0.0.0.product.11191.0.0"
                                            data-spm="cms_10530.3480948.9"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;11191&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab005001#t=product&amp;act=product&amp;page=homepage&amp;pid=11191&amp;page_id=10530&amp;bid=3480948.9&#39;,&#39;https://www.mi.com/buy?product_id=11191&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家电动剃须刀S500"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/b5566da4f82e730c21bc8d85b3819f7b.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家电动剃须刀S500
                                            </h3>
                                            <p class="desc">浮动贴面更干净，减压设计更舒适</p>
                                            <p class="price"><span class="num">199</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=11807"
                                            data-log_code="31pchomepagelist_eight_product_tab006001#t=product&amp;act=product&amp;page=homepage&amp;pid=11807&amp;page_id=10530&amp;bid=3480948.10"
                                            target="_blank" data-scm="cms.0.0.0.product.11807.0.0"
                                            data-spm="cms_10530.3480948.10"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;11807&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab006001#t=product&amp;act=product&amp;page=homepage&amp;pid=11807&amp;page_id=10530&amp;bid=3480948.10&#39;,&#39;https://www.mi.com/buy?product_id=11807&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家电动剃须刀S300"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/46f0de238e57b13936b132fe41c2d7d8.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家电动剃须刀S300
                                            </h3>
                                            <p class="desc">青年“无须”新选择</p>
                                            <p class="price"><span class="num">99</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <!---->
                                    <li class="brick-item brick-item-s"><a
                                            href="https://www.mi.com/buy?product_id=12434"
                                            data-log_code="31pchomepagelist_eight_product_tab007001#t=product&amp;act=product&amp;page=homepage&amp;pid=12434&amp;page_id=10530&amp;bid=3480948.11"
                                            target="_blank" data-scm="cms.0.0.0.product.12434.0.0"
                                            data-spm="cms_10530.3480948.11"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;12434&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab007001#t=product&amp;act=product&amp;page=homepage&amp;pid=12434&amp;page_id=10530&amp;bid=3480948.11&#39;,&#39;https://www.mi.com/buy?product_id=12434&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="80" height="80"
                                                    alt="日常元素抽纸 青春版 24包/箱"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/b48160e1c150044808c9c8787c140750.jpg?thumb=1&amp;w=100&amp;h=100&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                日常元素抽纸 青春版 24包/箱
                                            </h3>
                                            <p class="price"><span class="num">27.9</span>元
                                                <!---->
                                            </p>
                                        </a></li>
                                </div>
                                <li class="brick-item brick-item-s"><a
                                        href="https://www.mi.com/search?keyword=MIJOY"
                                        data-log_code="31pchomepagelist_eight_product_tab000000#t=normal&amp;act=other&amp;page=homepage&amp;page_id=10530&amp;bid=3480948.3"
                                        data-scm="cms.0.0.0.0.0.0.0" data-spm="cms_10530.3480948.3"
                                        target="_blank"
                                        data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;}"
                                        data-settrack="true"
                                        onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab000000#t=normal&amp;act=other&amp;page=homepage&amp;page_id=10530&amp;bid=3480948.3&#39;,&#39;//www.mi.com/search?keyword=MIJOY&#39;,&#39;&quot;&quot;&#39;]);">
                                        <div class="figure figure-more"><i
                                                class="iconfont iconfont-circle-arrow-right"></i></div>
                                        <div class="more">
                                            浏览更多
                                            <small>热门</small></div>
                                    </a></li>
                            </ul>
                        </div>
                        <div>
                            <ul class="brick-list clearfix hide">
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=12633"
                                            data-log_code="31pchomepagelist_eight_product_tab000001#t=product&amp;act=product&amp;page=homepage&amp;pid=12633&amp;page_id=10530&amp;bid=3480948.13"
                                            target="_blank" data-scm="cms.0.0.0.product.12633.0.0"
                                            data-spm="cms_10530.3480948.13"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;12633&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab000001#t=product&amp;act=product&amp;page=homepage&amp;pid=12633&amp;page_id=10530&amp;bid=3480948.13&#39;,&#39;https://www.mi.com/buy?product_id=12633&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="九号卡丁车Pro兰博基尼汽车定制版"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/609d0a457c7f8ac27d76f953c8acb7fc.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                九号卡丁车Pro兰博基尼汽车定制版
                                            </h3>
                                            <p class="desc">九号卡丁车Pro兰博基尼汽车定制版</p>
                                            <p class="price"><span class="num">9999</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=9732"
                                            data-log_code="31pchomepagelist_eight_product_tab001001#t=product&amp;act=product&amp;page=homepage&amp;pid=9732&amp;page_id=10530&amp;bid=3480948.14"
                                            target="_blank" data-scm="cms.0.0.0.product.9732.0.0"
                                            data-spm="cms_10530.3480948.14"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;9732&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab001001#t=product&amp;act=product&amp;page=homepage&amp;pid=9732&amp;page_id=10530&amp;bid=3480948.14&#39;,&#39;https://www.mi.com/buy?product_id=9732&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家飞行员太阳镜 Pro"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/cccac948e1b8ffb47f1fecde67692e60.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家飞行员太阳镜 Pro
                                            </h3>
                                            <p class="desc">尼龙偏光，轻巧佩戴</p>
                                            <p class="price"><span class="num">199</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/scooter/"
                                            data-log_code="31pchomepagelist_eight_product_tab002001#t=product&amp;act=webview&amp;page=homepage&amp;page_id=10530&amp;bid=3480948.15&amp;pid=2774"
                                            target="_blank" data-scm="cms.0.0.0.0.0.0.0"
                                            data-spm="cms_10530.3480948.15"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab002001#t=product&amp;act=webview&amp;page=homepage&amp;page_id=10530&amp;bid=3480948.15&amp;pid=2774&#39;,&#39;https://www.mi.com/scooter/&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="九号平衡车"
                                                    data-src="//i8.mifile.cn/v1/a1/T1r_x_BgLT1RXrhCrK!200x200.jpg"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                九号平衡车
                                            </h3>
                                            <p class="desc">年轻人的酷玩具</p>
                                            <p class="price"><span class="num">1799</span>元
                                                <!----><del><span class="num">1999</span>元</del></p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=9285"
                                            data-log_code="31pchomepagelist_eight_product_tab003001#t=product&amp;act=product&amp;page=homepage&amp;pid=9285&amp;page_id=10530&amp;bid=3480948.16"
                                            target="_blank" data-scm="cms.0.0.0.product.9285.0.0"
                                            data-spm="cms_10530.3480948.16"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;9285&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab003001#t=product&amp;act=product&amp;page=homepage&amp;pid=9285&amp;page_id=10530&amp;bid=3480948.16&#39;,&#39;https://www.mi.com/buy?product_id=9285&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="小米米家电动滑板车Pro"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/aabf1a475043266cf4759ec58d0f679c.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                小米米家电动滑板车Pro
                                            </h3>
                                            <p class="desc">性能提升，动力更强劲</p>
                                            <p class="price"><span class="num">2799</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=9729"
                                            data-log_code="31pchomepagelist_eight_product_tab004001#t=product&amp;act=product&amp;page=homepage&amp;pid=9729&amp;page_id=10530&amp;bid=3480948.17"
                                            target="_blank" data-scm="cms.0.0.0.product.9729.0.0"
                                            data-spm="cms_10530.3480948.17"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;9729&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab004001#t=product&amp;act=product&amp;page=homepage&amp;pid=9729&amp;page_id=10530&amp;bid=3480948.17&#39;,&#39;https://www.mi.com/buy?product_id=9729&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="米家经典方框太阳镜"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/c9871569c0b49b769bd74f5cce81e45a.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                米家经典方框太阳镜
                                            </h3>
                                            <p class="desc">复古设计，偏光自修复</p>
                                            <p class="price"><span class="num">99</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=12541"
                                            data-log_code="31pchomepagelist_eight_product_tab005001#t=product&amp;act=product&amp;page=homepage&amp;pid=12541&amp;page_id=10530&amp;bid=3480948.18"
                                            target="_blank" data-scm="cms.0.0.0.product.12541.0.0"
                                            data-spm="cms_10530.3480948.18"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;12541&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab005001#t=product&amp;act=product&amp;page=homepage&amp;pid=12541&amp;page_id=10530&amp;bid=3480948.18&#39;,&#39;https://www.mi.com/buy?product_id=12541&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="小米车载充电器快充版1A1C 100W"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/fffc0a962387dff2f70aeb009ddf69ff.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                小米车载充电器快充版1A1C 100W
                                            </h3>
                                            <p class="desc">小米车载充电器快充版1A1C 100W</p>
                                            <p class="price"><span class="num">99</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <li class="brick-item brick-item-m brick-item-m-2"><a
                                            href="https://www.mi.com/buy?product_id=12741"
                                            data-log_code="31pchomepagelist_eight_product_tab006001#t=product&amp;act=product&amp;page=homepage&amp;pid=12741&amp;page_id=10530&amp;bid=3480948.19"
                                            target="_blank" data-scm="cms.0.0.0.product.12741.0.0"
                                            data-spm="cms_10530.3480948.19"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;12741&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab006001#t=product&amp;act=product&amp;page=homepage&amp;pid=12741&amp;page_id=10530&amp;bid=3480948.19&#39;,&#39;https://www.mi.com/buy?product_id=12741&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="160" height="160"
                                                    alt="小米对讲机Lite"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/3f182e898b25285bd8279cbc72c9686e.jpg?thumb=1&amp;w=200&amp;h=200&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                小米对讲机Lite
                                            </h3>
                                            <p class="desc">小米对讲机Lite</p>
                                            <p class="price"><span class="num">129</span>元
                                                <!---->
                                                <!---->
                                            </p>
                                        </a></li>
                                    <!---->
                                </div>
                                <div>
                                    <!---->
                                    <li class="brick-item brick-item-s"><a
                                            href="https://www.mi.com/buy?product_id=12769"
                                            data-log_code="31pchomepagelist_eight_product_tab007001#t=product&amp;act=product&amp;page=homepage&amp;pid=12769&amp;page_id=10530&amp;bid=3480948.20"
                                            target="_blank" data-scm="cms.0.0.0.product.12769.0.0"
                                            data-spm="cms_10530.3480948.20"
                                            data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;,&quot;default_goods&quot;:&quot;12769&quot;}"
                                            data-settrack="true"
                                            onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab007001#t=product&amp;act=product&amp;page=homepage&amp;pid=12769&amp;page_id=10530&amp;bid=3480948.20&#39;,&#39;https://www.mi.com/buy?product_id=12769&#39;,&#39;&quot;&quot;&#39;]);">
                                            <div class="figure figure-img"><img width="80" height="80"
                                                    alt="小米无线充电宝30W 10000mAh"
                                                    data-src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/e2589bc96718b0db697b23ff765c01c3.jpg?thumb=1&amp;w=100&amp;h=100&amp;f=webp&amp;q=90"
                                                    src=""
                                                    lazy="loading"></div>
                                            <h3 class="title">
                                                小米无线充电宝30W 10000mAh
                                            </h3>
                                            <p class="price"><span class="num">199</span>元
                                                <!---->
                                            </p>
                                        </a></li>
                                </div>
                                <li class="brick-item brick-item-s"><a
                                        href="https://www.mi.com/search?keyword=%E7%AE%B1%E5%8C%85"
                                        data-log_code="31pchomepagelist_eight_product_tab000000#t=normal&amp;act=other&amp;page=homepage&amp;page_id=10530&amp;bid=3480948.12"
                                        data-scm="cms.0.0.0.0.0.0.0" data-spm="cms_10530.3480948.12"
                                        target="_blank"
                                        data-params="{&quot;component&quot;:&quot;list_eight_product_tab&quot;,&quot;component_name&quot;:&quot;\u3010\u4ea7\u54c1\u3011\u697c\u5c42\u591aTAB &quot;}"
                                        data-settrack="true"
                                        onclick="_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_eight_product_tab000000#t=normal&amp;act=other&amp;page=homepage&amp;page_id=10530&amp;bid=3480948.12&#39;,&#39;//www.mi.com/search?keyword=%E7%AE%B1%E5%8C%85&#39;,&#39;&quot;&quot;&#39;]);">
                                        <div class="figure figure-more"><i
                                                class="iconfont iconfont-circle-arrow-right"></i></div>
                                        <div class="more">
                                            浏览更多
                                            <!---->
                                        </div>
                                    </a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="home-banner-box" v-for="(item, index) in bannerAds.slice(0, 1)" :key="index" >
          <a :href="item.url" target="_blank">
          <img
            v-bind:alt="item.title" width="1226" height="120"
            v-bind:src="item.img_url"
            lazy="loading"></a></div>
        <div class="home-video-box xm-plain-box">
          <div class="box-hd">
            <h2 class="title">视频</h2>
            <div class="more">
              <a
                href="https://www.mi.com/video/"
                data-log_code="31pchomepagelist_four_video000000#t=normal&amp;act=other&amp;page=homepage&amp;page_id=10530&amp;bid=3480966.1"
                target="_blank"
                class="more-link"
                data-settrack="true"
                onclick='_msq.push([&#39;trackEvent&#39;,&#39;31pchomepagelist_four_video000000#t=normal&amp;act=other&amp;page=homepage&amp;page_id=10530&amp;bid=3480966.1&#39;,&#39;https://www.mi.com/video/&#39;,&#39;""&#39;]);'
                >查看全部<i class="iconfont iconfont-arrow-right-big"></i
              ></a>
            </div>
          </div>
          <div class="box-bd clearfix" v-if="videoList.length>0">
            <ul class="video-list clearfix">
                <li class="video-item" v-for="(item,index) in videoList.slice(0,4)" v-bind:key="index">
                <a
                  href="javascript: void(0);"
                  data-log_code=""
                  title="点击播放视频"
                >
                  <div class="figure figure-img">
                    <img
                      width="296"
                      height="180"
                      v-bind:alt="item.title"
                      v-bind:src="item.img_url"
                      lazy="loading"
                    /><span class="play"><i class="iconfont-play"></i></span>
                  </div>
                  <h3 class="title">{{item.title}}</h3>
                  <p class="desc">{{item.describe}}</p>
                </a>
              </li>
            </ul>
          </div>
          <div class="box-bd clearfix" v-else>
            <div>未查找到相关数据</div>
          </div>
        </div>
      </div>
    </div>
    <pagefooter></pagefooter>
  </div>
</template>
<script>
import '@/assets/css/home.css'
import pageheader from '@/components/pageheader'
import pagefooter from '@/components/pagefooter'
export default {
  name: 'index',
  data: function () {
    return {
      videoList: [],
      bannerAds: []
    };
  },
  components: {
    pageheader: pageheader,
    pagefooter: pagefooter
  },
  created () {
    this.getVideoList();
    this.getBannerAds();
  },
  methods: {
    getVideoList () {
      this.$api.video.VideoList().then(res => {
        console.log(res)
        this.videoList = res.data.data;
      })
    },
    getBannerAds () {
      this.$api.ads.getBannerAds().then(res => {
        this.bannerAds = res.data.data;
        console.log(this.bannerAds[0].title)
      })
    }
  }
};
</script>
<style scoped>
</style>
